<div class="bg-light lter b-b wrapper-md">
  <h1 class="m-n font-thin h3">节目管理</h1>
</div>
<div class="wrapper-md">
  <div ng-controller="FormDemoCtrl">
    <div class="row">
    
      <div class="col-sm-12">
        <form name="form-contact" class="form-horizontal">
          <div class="panel panel-default">
            <div class="panel-heading">
              <span class="h4"><span class="label label-primary">节目编辑</span></span>
            </div>
            <div class="panel-body">
            

              <p class="text-muted"><span class="label label-info">影视简介信息</span></p>    


<div class="form-group">
    <label class="col-sm-1 control-label">中文名</label>
    <div class="col-sm-5">
 <input type="text" class="form-control" placeholder="中文名" ng-model="contact.ProgramTitle" required >
    </div>

    <label  class="col-sm-1 control-label">英文名</label>
    <div class="col-sm-5">
      <input type="text" class="form-control" placeholder="英文名" ng-model="contact.EProgramTitle" required >
    </div>
  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>


  <div class="form-group">
    <label class="col-sm-1 control-label">制片人</label>
    <div class="col-sm-5">
 <input type="text" class="form-control" placeholder="制片人" ng-model="contact.ProgramAuthor" required >
    </div>

    <label  class="col-sm-1 control-label">导演</label>
    <div class="col-sm-5">
      <input type="text" class="form-control" placeholder="导演" ng-model="contact.Director" required >
    </div>
  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>
             
 <div class="form-group">
    <label class="col-sm-1 control-label">编剧</label>
    <div class="col-sm-5">
 <input type="text" class="form-control" placeholder="编剧" ng-model="contact.Screenwriter" required >
    </div>

    <label  class="col-sm-1 control-label">片长</label>
    <div class="col-sm-5">
      <input type="text" class="form-control" placeholder="片长" ng-model="contact.FilmLength" required >
    </div>
  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>


   <div class="form-group">
    <label class="col-sm-1 control-label">制片地区</label>
    <div class="col-sm-5">
 <input type="text" class="form-control" placeholder="制片地区" ng-model="contact.ProductArea" required >
    </div>

    <label  class="col-sm-1 control-label">上映时间</label>
    <div class="col-sm-5">
      <input type="text" class="form-control"   ng-model="contact.ReleaseTime" required >
    </div>
  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>


     <div class="form-group">
    <label class="col-sm-1 control-label">有效时间</label>
    <div class="col-sm-5">
   <input type="text" class="form-control" ng-model="contact.ValidityBegin" required >
    </div>
    <div class="col-sm-5">
      <input type="text" class="form-control" ng-model="contact.ValidityEnd" required >
    </div>
  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>
              


  <div class="form-group">
    <label class="col-sm-1 control-label">出品时间</label>
    <div class="col-sm-5">
 <input type="text" class="form-control" placeholder="出品时间" ng-model="contact.ProductTime" required >
    </div>

    <label  class="col-sm-1 control-label">出品公司</label>
    <div class="col-sm-5">
      <input type="text" class="form-control"   ng-model="contact.ProductCompany" required >
    </div>
  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>

    <div class="form-group">
    <label class="col-sm-1 control-label">标签</label>
    <div class="col-sm-5">
 <input type="text" class="form-control" placeholder="标签" ng-model="contact.ProgramLabel" required >
    </div>

    <label  class="col-sm-1 control-label"></label>
    <div class="col-sm-5">
    </div>
  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>

             
             

              


              <div class="form-group">
                 <label class="col-sm-1 control-label">节目简介</label>  
               <div class="col-sm-10">
                   <textarea class="form-control" rows="6" placeholder="节目简介">{{contact.programIntroduction}}</textarea>
               </div>
                </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>


    <div class="form-group">
                 <label class="col-sm-1 control-label">小图标</label>  
               <div class="col-sm-5">
                <input type="text" class="form-control" placeholder="" ng-model="contact.ProgramSmallImage" required>
               </div>
                </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>

      <div class="form-group">
                 <label class="col-sm-1 control-label">中图标</label>  
               <div class="col-sm-5">
                <input type="text" class="form-control" placeholder="" ng-model="contact.ProgramMediumImage" required>
               </div>
                </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>


      <div class="form-group">
                 <label class="col-sm-1 control-label">大图标</label>  
               <div class="col-sm-5">
                <input type="text" class="form-control" placeholder="" ng-model="contact.ProgramLargeImage" required>
               </div>
                </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>






             
            </div>



  <div class="panel-body">
              <p class="text-muted">影视资源信息</p>    


                

            </div>

             <div class="panel-body">
              <p class="text-muted">影视评论信息</p>    


               

            </div>

                 <div class="panel-body">
              <p class="text-muted">影视配置信息</p>    


           

 <div class="form-group">
    <label class="col-sm-1 control-label">播放次数</label>
    <div class="col-sm-5">
 <input type="number" class="form-control"  ng-model="contact.ProductTime" required >
    </div>

    <label  class="col-sm-1 control-label">排序</label>
    <div class="col-sm-5">
      <input type="number" class="form-control"   ng-model="contact.ProductCompany" required >
    </div>
  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>

   <div class="form-group">
    <label class="col-sm-1 control-label">审核时间</label>
    <div class="col-sm-5">
 <input type="number" class="form-control"  ng-model="contact.ProductTime" required >
    </div>

    <label  class="col-sm-1 control-label">审核人</label>
    <div class="col-sm-5">
      <input type="number" class="form-control"   ng-model="contact.ProductCompany" required >
    </div>
  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>



   <div class="form-group">
    <label class="col-sm-1 control-label">是否审核</label>
    <div class="col-sm-1">
 <label class="i-switch m-t-xs m-r">
              <input type="checkbox" checked>
              <i></i>
            </label>
    </div>

    <label class="col-sm-1 control-label">是否展示</label>
    <div class="col-sm-1">
 <label class="i-switch m-t-xs m-r">
              <input type="checkbox" checked>
              <i></i>
            </label>
    </div>
     <label class="col-sm-1 control-label">PC</label>
    <div class="col-sm-1">
 <label class="i-switch m-t-xs m-r">
              <input type="checkbox" checked>
              <i></i>
            </label>
    </div>
     <label class="col-sm-1 control-label">Phone</label>
    <div class="col-sm-1">
 <label class="i-switch m-t-xs m-r">
              <input type="checkbox" checked>
              <i></i>
            </label>
    </div>


 <label class="col-sm-1 control-label">Pad</label>
    <div class="col-sm-1">
 <label class="i-switch m-t-xs m-r">
              <input type="checkbox" checked>
              <i></i>
            </label>
    </div>

     <label class="col-sm-1 control-label">TV</label>
    <div class="col-sm-1">
 <label class="i-switch m-t-xs m-r">
              <input type="checkbox" checked>
              <i></i>
            </label>
    </div>


  </div>
  <div class="line line-dashed b-b line-lg pull-in"></div>


            

               
                







            </div>


            <footer class="panel-footer text-right bg-light lter">
              <button type="submit" class="btn btn-success">Submit</button>
            </footer>
          </div>
        </form>
      </div>
    </div>
   

  </div>
</div>



<script type="text/javascript">
  'use strict';
/* Controllers */
  // Form controller
app.controller('FormDemoCtrl', ['$scope', function($scope) {
    $scope.notBlackListed = function(value) {
      var blacklist = ['bad@domain.com','verybad@domain.com'];
      return blacklist.indexOf(value) === -1;
    }

    $scope.val = 15;
    var updateModel = function(val){
      $scope.$apply(function(){
        $scope.val = val;
      });
    };
    angular.element("#slider").on('slideStop', function(data){
      updateModel(data.value);
    });

    $scope.select2Number = [
      {text:'First',  value:'One'},
      {text:'Second', value:'Two'},
      {text:'Third',  value:'Three'}
    ];

    $scope.list_of_string = ['tag1', 'tag2']
    $scope.select2Options = {
        'multiple': true,
        'simple_tags': true,
        'tags': ['tag1', 'tag2', 'tag3', 'tag4']  // Can be empty list.
    };

    angular.element("#LinkInput").bind('click', function (event) {
      event.stopPropagation();
    });

  }]);
</script>